﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Home/Layouts/Home.Master" AutoEventWireup="true"
    CodeBehind="Register.aspx.cs" Inherits="Thuoc24h.Home.Pages.Register" %>

<%@ Import Namespace="Thuoc24h.Common" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadPLH" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainPLH" runat="server">
    <h1 class="TopHeader">
        Đăng ký</h1>
    <div class="notice">
        Nếu bạn chưa có tài khoản tại thuoctot24h.com.vn, xin mời đăng ký.</div>
    <table id="LoginTable">
        <tr>
            <td>
                Họ tên
            </td>
            <td>
                <asp:TextBox runat="server" ID="NameTxt"></asp:TextBox><asp:RequiredFieldValidator
                    ID="RequiredFieldValidator4" runat="server" ControlToValidate="NameTxt" ErrorMessage="(*)"
                    ForeColor="red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Số điện thoại
            </td>
            <td>
                <asp:TextBox runat="server" ID="PhoneNumberTxt"></asp:TextBox><asp:RequiredFieldValidator
                    ID="RequiredFieldValidator5" runat="server" ControlToValidate="PhoneNumberTxt"
                    ErrorMessage="(*)" ForeColor="red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Địa chỉ
            </td>
            <td>
                <asp:TextBox runat="server" ID="AddressTxt"></asp:TextBox><asp:RequiredFieldValidator
                    ID="RequiredFieldValidator6" runat="server" ControlToValidate="AddressTxt" ErrorMessage="(*)"
                    ForeColor="red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Email
            </td>
            <td>
                <asp:TextBox runat="server" ID="EmailTxt"></asp:TextBox><asp:RequiredFieldValidator
                    ID="RequiredFieldValidator7" runat="server" ControlToValidate="EmailTxt" ErrorMessage="(*)"
                    ForeColor="red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Tên đăng nhập
            </td>
            <td>
                <asp:TextBox runat="server" ID="UserNameTxt"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="UserNameTxt"
                    ErrorMessage="(*)" ForeColor="red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Mật khẩu
            </td>
            <td>
                <asp:TextBox runat="server" ID="PasswordTxt" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="PasswordTxt"
                    ErrorMessage="(*)" ForeColor="red"></asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td>
                Nhập lại mật khẩu
            </td>
            <td>
                <asp:TextBox runat="server" ID="RePasswordTxt" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="RePasswordTxt"
                    ErrorMessage="(*)" ForeColor="red"></asp:RequiredFieldValidator>
                <asp:CompareValidator runat="server" ID="compare" ControlToValidate="RePasswordTxt"
                    ControlToCompare="PasswordTxt" ErrorMessage="(!)" ForeColor="red"></asp:CompareValidator>
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Button runat="server" ID="LoginBtn" CssClass="Button" Text="Đăng nhập" />
            </td>
        </tr>
        <tr>
            <td colspan="2">
                <asp:Label runat="server" ForeColor="red" ID="ErrorMessageLbl"></asp:Label>
            </td>
        </tr>
    </table>
    <div class="notice">
        Nếu bạn đã có tài khoản, hãy đăng nhập <a href="/<%=Utils.BuildUrl("đăng nhập") %>">
            tại đây</a></div>
</asp:Content>
